package com.example.WeiNi.cyy;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.Window;
import com.example.WeiNi.R;


public class MainActivity extends Activity {
    private ViewPager viewPager;
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //取消Activity的标题
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
        viewPager = (ViewPager) findViewById(R.id.viewpager);
    }
}
